package test;
import java.util.*;
public     class     lianxi04{ 
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.print( "请键入一个正整数:     "); 
        int    n    = s.nextInt();
        int k=2; 
        System.out.print(n + "=" );
        while(k <= n) {
          if(k == n) {System.out.println(n);break;}
            else if( n % k == 0) {System.out.print(k + "*");n = n / k; } 
                    else    k++;
                   }
     }
    } 
